home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmCreateFileSelectionBox.z / XmCreateFileSelectionBox
Encoding:
Text File  |  2003-11-18  |  3.8 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXXUUUU))))NNNNIIIIXXXX SSSSyyyysssstttteeeemmmmXXXXVVVVmmmmCCCCrrrreeeeaaaatttteeeeFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_C_r_e_a_t_e_F_i_l_e_S_e_l_e_c_t_i_o_n_B_o_x - The FileSelectionBox widget
  10.       creation function
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/FileSB.h>
  14.  
  15.       Widget XmCreateFileSelectionBox (ppppaaaarrrreeeennnntttt,,,, nnnnaaaammmmeeee,,,, aaaarrrrgggglllliiiisssstttt,,,, aaaarrrrggggccccoooouuuunnnntttt)
  16.            _W_i_d_g_e_t     ppppaaaarrrreeeennnntttt;
  17.            _S_t_r_i_n_g     nnnnaaaammmmeeee;
  18.            _A_r_g_L_i_s_t     aaaarrrrgggglllliiiisssstttt;
  19.            _C_a_r_d_i_n_a_l     aaaarrrrggggccccoooouuuunnnntttt;
  20.  
  21.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.       _X_m_C_r_e_a_t_e_F_i_l_e_S_e_l_e_c_t_i_o_n_B_o_x creates an unmanaged
  23.       FileSelectionBox.  A FileSelectionBox    is used    to select a
  24.       file and includes the    following:
  25.  
  26.       +o    An editable text    field for the directory    mask
  27.  
  28.       +o    A scrolling list    of file    names
  29.  
  30.       +o    An editable text    field for the selected file
  31.  
  32.       +o    Labels for the list and text fields
  33.  
  34.       +o    Four buttons
  35.  
  36.       The default button labels are    _O_K, _F_i_l_t_e_r, _C_a_n_c_e_l, and    _H_e_l_p.
  37.       Additional work area children    may be added to    the
  38.       FileSelectionBox after creation.  FileSelectionBox inherits
  39.       the layout functionality provided by SelectionBox for    any
  40.       additional work area children.
  41.  
  42.       If the parent    of the FileSelectionBox    is a DialogShell, use
  43.       _X_t_M_a_n_a_g_e_C_h_i_l_d    to pop up the FileSelectionDialog (passing the
  44.       FileSelectionBox as the widget parameter); use
  45.       _X_t_U_n_m_a_n_a_g_e_C_h_i_l_d to pop it down.
  46.  
  47.       ppppaaaarrrreeeennnntttt
  48.            Specifies the parent widget ID
  49.  
  50.       nnnnaaaammmmeeee Specifies the name of the created widget
  51.  
  52.       aaaarrrrgggglllliiiisssstttt
  53.            Specifies the argument list
  54.  
  55.       aaaarrrrggggccccoooouuuunnnntttt
  56.            Specifies the number of attribute/value pairs in    the
  57.            argument    list (aaaarrrrgggglllliiiisssstttt)
  58.  
  59.       For a    complete definition of FileSelectionBox    and its
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXXUUUU))))NNNNIIIIXXXX SSSSyyyysssstttteeeemmmmXXXXVVVVmmmmCCCCrrrreeeeaaaatttteeeeFFFFiiiilllleeeeSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))
  71.  
  72.  
  73.  
  74.       associated resources,    see _X_m_F_i_l_e_S_e_l_e_c_t_i_o_n_B_o_x(_3_X).
  75.  
  76.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  77.       Returns the FileSelectionBox widget ID.
  78.  
  79.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  80.       _X_m_F_i_l_e_S_e_l_e_c_t_i_o_n_B_o_x(_3_X).
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                        (printed 11/11/03)
  130.  
  131.  
  132.  
  133.